CREATE TABLE [dbo].[TDCONC_BANC]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[NU_ANNO] [dbo].[TD_VC_004] NOT NULL,
[NU_PERI] [dbo].[TD_VC_002] NOT NULL,
[MM_BNCO] [dbo].[TD_VC_002] NULL,
[TI_MOVI_BANC] [dbo].[TD_VC_001] NULL,
[NU_DOCU_BANC] [dbo].[TD_VC_020] NULL,
[CO_BANC] [dbo].[TD_VC_003] NULL,
[NU_CNTA_BANC] [dbo].[TD_VC_020] NULL,
[AA_BNCO] [dbo].[TD_VC_004] NULL,
[FE_OPER] [dbo].[TD_VC_010] NULL,
[CO_TIPO_DOCU] [dbo].[TD_VC_003] NULL,
[CO_SUNA] [dbo].[TD_VC_003] NULL,
[IM_MOVI] [dbo].[TD_VC_020] NULL,
[DE_OBSE] [dbo].[TD_VC_100] NULL,
[NU_CORR_CONC] [dbo].[TD_VC_020] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TDCONC_BA__CO_US__2FEF161B] DEFAULT (suser_sname()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TDCONC_BA__FE_US__30E33A54] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TDCONC_BA__CO_US__31D75E8D] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TDCONC_BA__FE_US__32CB82C6] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TDCONC_BANC] ADD CONSTRAINT [PK__TDCONC_B__17D9AB4729C206D0] PRIMARY KEY CLUSTERED  ([CO_EMPR]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TDCONC_BANC] ADD CONSTRAINT [FK__TDCONC_BA__CO_EM__3CBFCCAB] FOREIGN KEY ([CO_EMPR]) REFERENCES [dbo].[TMPARA_TESO] ([CO_EMPR])
GO
